<template>
  <div class="body">
    <!-- 错题本  -->
    <div class="header">
      <div>
        <img src="../../assets/homeimg/滑动左.png" />
        <span>错题本</span>
      </div>
    </div>
    <div class="min">
      <div class="kgde">
        <p class="kcname">
          <span class="name">课程3</span>
          <span class="pinfen">
            <img src="../../assets/homeimg/形状 3 拷贝 2.png" />
            <img src="../../assets/homeimg/形状 3 拷贝 2.png" />
            <img src="../../assets/homeimg/形状 3 拷贝 2.png" />
          </span>
        </p>
        <p class="jiyi">名人谈记忆</p>
        <p class="chakan">
          <span>学习了1遍 查看讲义 ></span>
          <span>复习 ></span>
        </p>
        <p class="bord"></p>
        <p class="time">2020年03月20日 08：00</p>
      </div>
      <div class="kgde">
        <p class="kcname">
          <span class="name">课程3</span>
          <span class="pinfen">
            <img src="../../assets/homeimg/形状 3 拷贝 2.png" />
            <img src="../../assets/homeimg/形状 3 拷贝 2.png" />
            <img src="../../assets/homeimg/形状 3 拷贝 2.png" />
          </span>
        </p>
        <p class="jiyi">图形的记忆-圆星三角</p>
        <p class="chakan">
          <span>学习了1遍 查看讲义 ></span>
          <span>复习 ></span>
        </p>
        <p class="bord"></p>
        <p class="time">2020年03月20日 08：00</p>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped="scoped">
.body {
  color: #333333;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}
.header {
  // font-weight: bold;
  width: 100%;
  text-align: center;
  height: 3.125rem;
  line-height: 3.125rem;
  position: relative;
  border-bottom: 1px solid #dcdcdc;
  color: #333333;
  font-size: 1.25rem;
  img {
    width: 0.625rem;
    height: 1.125rem;
    position: absolute;
    left: 1rem;
    bottom: 0.875rem;
  }
}
.min {
  flex: 1;
  margin: 0 auto;
}
.kgde {
  width: 20rem;
  height: 9.375rem;
  background: #fff;
  padding: 0 0.75rem;
  padding-top: 0.625rem;
  margin-top: 0.9375rem;
}
.kcname {
  display: flex;
  justify-content: space-between;
}
.name {
  color: #333333;
  font-size: 1rem;
  font-weight: bold;
}
.jiyi {
  color: #333333;
  font-size: 1rem;
  height: 2.5rem;
  line-height: 2.5rem;
}
.chakan {
  display: flex;
  justify-content: space-between;
  color: #999999;
  font-size: 0.75rem;
  height: 1.25rem;
  line-height: 1.25rem;
  span:nth-of-type(2) {
    display: inline-block;
    text-align: center;
    width: 4.375rem;
    height: 1.5rem;
    background: #fafafa;
    border-radius: 0.75rem;
  }
}
.bord {
  width: 100%;
  border-bottom: 1px solid #dcdcdc;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}
.time {
  color: #999999;
  font-size: 0.75rem;
  text-align: right;
}
.pinfen img {
  width: 1rem;
  height: 0.9375rem;
  margin: 0 0.1875rem;
}
</style>
